﻿@model IEnumerable<Ninesky.Models.Category>
<ul class="nav navbar-nav">
    @foreach (var category in Model)
    {
        <li><a asp-controller="Category" asp-action="Index" asp-route-id="@category.CategoryId">@category.Name</a></li>
    }
</ul>